package com.linw.springboot.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lwt
 * @version 1.0
 * @Description
 * @date 2020/11/10 18:23
 */
@RestController
public class HelloController {
    @Value("${server.port}")
    private String port;
    @RequestMapping("/vod")
    public String index() {
        return "Hello World-"+port;
    }
}
